import { request } from '@/utils/request'

export function zproductlist(data) {
  return request({
    url: '/v1/garage-kit/z-product/list',
    method: 'GET',
    data
  })
}

export function lzproductDetail(data) {
  return request({
    url: '/v1/garage-kit/z-product/detail',
    method: 'GET',
    data
  })
}

export function buyzproduct(data) {
  return request({
    url: '/v1/garage-kit/z-product/buy',
    method: 'POST',
    data
  })
}

export function zweallist() {
  return request({
    url: '/v1/garage-kit/z-weal/list',
    method: 'GET',
  })
}

export function lzwealDetail(data) {
  return request({
    url: '/v1/garage-kit/z-weal/detail',
    method: 'GET',
    data
  })
}

export function buyzzweal(data) {
  return request({
    url: '/v1/garage-kit/z-weal/buy',
    method: 'POST',
    data
  })
}

export function zzwealrecords(data) {
  return request({
    url: '/v1/garage-kit/z-weal/records',
    method: 'GET',
    data
  })
}
export function protocolone(data) {
  return request({
    url: "/v1/basic/protocol/one",
    method: 'GET',
    data
  })
}
